Pins the specified source and call an action with the pinned pointer.
シンタックス
'宣言
Public Overloads Shared Sub Pin(Of As {New, Struct})( _
ByVal () As , _
ByVal As System.Action(Of IntPtr) _
)
public static void Pin<>(
[] ,
System.Action<IntPtr>
)
where T: new(), struct
パラメータ
- source
- The source array.
- pinAction
- The pin action to perform on the pinned pointer.
型パラメータ
- T
- The type of the structure to pin.
参照